execute_path=$(pwd)
CONFIG_PATH=$1
EXP_NAME=$2


bash launchsubnode.sh $CONFIG_PATH mm $EXP_NAME 80 0 &
ssh root@172.24.250.228 "cd ${execute_path}; bash launchsubnode.sh ${CONFIG_PATH} mm ${EXP_NAME} 80 8" &
ssh root@172.24.250.229 "cd ${execute_path}; bash launchsubnode.sh ${CONFIG_PATH} mm ${EXP_NAME} 80 16" &
ssh root@172.24.250.205 "cd ${execute_path}; bash launchsubnode.sh ${CONFIG_PATH} mm ${EXP_NAME} 80 24" &
ssh root@172.24.250.206 "cd ${execute_path}; bash launchsubnode.sh ${CONFIG_PATH} mm ${EXP_NAME} 80 32" &
ssh root@172.24.250.207 "cd ${execute_path}; bash launchsubnode.sh ${CONFIG_PATH} mm ${EXP_NAME} 80 40" &
ssh root@172.24.250.208 "cd ${execute_path}; bash launchsubnode.sh ${CONFIG_PATH} mm ${EXP_NAME} 80 48" &
ssh root@172.24.250.209 "cd ${execute_path}; bash launchsubnode.sh ${CONFIG_PATH} mm ${EXP_NAME} 80 56" &
ssh root@172.24.250.210 "cd ${execute_path}; bash launchsubnode.sh ${CONFIG_PATH} mm ${EXP_NAME} 80 64" &
ssh root@172.24.250.211 "cd ${execute_path}; bash launchsubnode.sh ${CONFIG_PATH} mm ${EXP_NAME} 80 72" &

